Why language
translations aren't updated regularly?
I hadn't
enough time to wait for translators to send translations, so check Download
section, maybe it's updated.
When I
view the source of a file in IE, it opens up ConTEXT as the "notepad"
but it highlights this as a text file, not as HTML).
Start IE
and set ConTEXT as default HTML editor (Tools / Internet options / Programs
/ HTML editor). After this, in file menu of IE you'll see command "Edit
with ConTEXT". use this to view HTML files inside IE.
I experience
a problem when I try to open files with a space in the path. Instead of
opening the file two empty documents are created, one named after the
first part of the folder name and the other with the name Edit1.
There is
problem with previously associated files with notepad. You can either
re-register file extension using ConTEXT (Environment options / Associations)
or manually edit file associations: start Windows File Explorer, "Tools
/ Folder options / File types", find this file type with which
you've got problems, Edit it and in"Open" command double quote
%1 parameter ("%1").
How can
I vertically select text in blocks?
Toggle
selection mode with Ctrl+L or hold down the Alt key while making your
selection with the mouse.
How can
I add my own keywords to existing built-in syntax highlighter?
You can't.
You can eventually build your own custom syntax highlighter. For more
details about it, check sample highlighter in Highlighters\ subdirectory
of your ConTEXT directory.
What about
combined syntax highlighters (PHP, JS and ASP in HTML)?
For now,
it isn't possible to highlight combinations at the same time. Workaround
for this could be manually switching highlighters, regardless of piece
of code you're editing at the moment.
Where
are my hard-tabs?
ConTEXT
doesn't have internally native support for real hard tabs, so tabs will
be converted to spaces when opening file and spaces will be converted
back to tabs when saving file. Behavior of this situation is controlled
by "Tabs save mode" option. If it's automatic, ConTEXT detects
appearance of the tabs when opening files and when saving it, it uses
tabs again wherever possible. You may also force tabs and spaces using
this option.
What about
a word-wrap? There is only vertical line and nothing wraps!
At this
moment, real word-wrapping isn't supported. After all, ConTEXT meant
to be programmers editor, not word processor, and programmers do not
use word-wrapping :) If you remember best editor for DOS ever - QEdit,
word-wrap work the same way it worked there: only when you type text.
When I
uninstall ConTEXT, is there any garbage left in my registry?
Two things
are left: extension associations to ConTEXT (if you defined it) and
HKCU\Software\Eden\ConTEXT registry key. First one you can unassociate
using Environment options / Associations before uninstalling ConTEXT
and the last one by deleting this key using regedit. Ermm... why would
you uninstall ConTEXT anyway?!
Can ConTEXT
edit binary files? What about hex editor?
At this
moment, ConTEXT can edit any file not containing 0x00 char. There could
be integrated hex editor in some near future.
How to
use Borland C++ 5.5 free compiler with ConTEXT?
1. Open
a .cpp file to test
2. Select "Options / Environment options / Execute Keys".
3. Select the cpp group, if there isn't any, click "Add" and
enter the extension, in this case "cpp" (without quotes).
4. Now click on the cpp - F9, I'm going to assume that you installed
Borland compiler in the folder "C:\Bcc\", if you installed
in other folder, just replace it.
5. Options for cpp - F9:
Execute: C:\BCC\Bin\Bcc32.exe
Start in: %p
Parameters: %f
6. Check "Editing before execution"
7. Check "Capture console output"
8. Then click "OK"
How to
use Java compiler with ConTEXT? (Posted by Jorge Ortiz)
1. After
installing JDK and ConTEXT of course, open ConTEXT, go to Options/Environment
Options.../Associations, click on Add button and write "java"
(without quotes) and click the "Apply" button at dialog's
bottom.
2. Then
hit "Execute keys" tab, hit Add again and add "java"
again. Click on F9 (in the "User exec keys" tree) and use
the "..." button to browse the hard disk until you find where
you have installed the JDK. Go into "bin" subdirectory and
select "javac.exe", so this file with its full path now must
be in the "Execute" field. Then write "%p" (without
quotes) in the "Start in" field and "%f" in the
"Parameters" field. Click on "Capture console output"
checkbox and hit the "Apply" button at dialog's bottom.
3. Click
the "F10" key in the keys' tree and repeat all the steps of
paragraph 2., but this time select "java.exe" instead of "javac.exe"
and write "%F" where you wrote "%f" in paragraph
2. Finally apply and click "Ok" to close dialog window.
4. Create
a new and empty file hitting the first icon in the toolbar of ConTEXT,
then select "Java" in the drop down list box (where "Text
files" must appear, in the same toolbar).
5. Write
"prog" (without quotes) and without left a space, pulse Ctrl+J
and a basic Java program skeleton must be appear magically. If not,
copy and paste this:
public class MyProg {
/** Code documentation here */
public static void main(String[] args) {
/* multi-line and semi-line comments here */
// one-line comments here
System.out.println("Hello, world");
}
}
6. Save
this file with name: "MyProg.java" (take account that Java
is case sensitive even with file names).
7. Hit
"F9" and the Java Compiler (javac.exe) must do his work and
build a Java Class named "MyProg.class" in the same directory
where you had saved the source code.
8. Hit
"F10" to run your first Java program.
Optional
steps: Configure Help File for Java programming
1. Download
Java WinHelp compressed file from
http://www.confluent.fr/javadoc/jdk13e.html and uncompress it.
2. In ConTEXT select "Options" menu and click "Environment
Options..."
option.
3. In the opened dialog window, select Miscellaneous page.
4. Select "Java" in the "Help files" frame and click
on "Edit" button,
below frame.
5. Browse your hard disk until you find the file "Jdk13.hlp"
extracted
from downloaded help file and click Open button.
6. Click "Ok" button in ConTEXT's "Environment Options"
dialog window.
7. Test it: Open a Java Source file, click a Java reserved word (must
be highlighted) and hit "F1" key in your keyboard.
I'm executing
external DOS application using user exec keys, but I don't want it's output
in ConTEXT output console window. How can I make it's window not to close
at the end of the execution?
You can
achieve this by using ConExec's -p option. For example, if you've got
this configuration:
Execute: c:\util\tlink.exe
Parameters: %1
you'll change it to:
Execute: c:\Program Files\ConTEXT\ConExec.exe
Parameters: -p "c:\util\tlink.exe" %1
Any command
line options available?
Sure, check
ConTEXT help to learn more about it.
I think
ConTEXT gets slower when it starts. Is it true?
It can
be. To speed it up, delete "ConTEXT Positions.ini" file and
delete all external highlighters you don't use. You can found them in
Highlighters\ directory. All those issues will be fixed in ConTEXT v1.0.
I found
a bug! Can you fix it?
First of
all, be sure you're using newest version of ConTEXT Send me as much
info about it as you can. Can you repeat it? How? What exactly happened?
Which highlighter did you use? Send me screenshot (convert it to GIF
before sending!!).
I don't
understand how Code templates works.
Check ObjectPascal,
HTML or Java templates included with ConTEXT as examples.
What language
did you use to code ConTEXT?
Delphi
v4.0.
What about
porting to some other OS?
As soon
as I get Kylix, I'll start to port it to Linux.
What is
the shortcut for...?
Look into
the main menu. Most of commands are there and you can see it's shortcut.
Can I
get ConTEXT source files?
This is
just a freeware project, not OpenSource.
Is ConTEXT
really for free? What if I want to donate something to encourage ConTEXT
development?
I'll be
glad to accept any of your donations. You can send it to my postal address
found at Author
page, but contact me first just to let me know.
Can I
use ConTEXT in my commercial application? Can you send me DLL with exported
functions to integrate ConTEXT into my project?
ConTEXT
editor is free in this form you can download it. You can use it completely
free as freeware, but not as a part of commercial application. ConTEXT
is provided as is. This freeware license doesn't cover special modifications
I made. I could only sell you some other form (DLL for example), ready
for integration in your commercial application which you'll sell. Contact
me if you interested in it.
Is this
all?
Yes, and
it's better than nothing :)
|